package com.lk.service;

import com.lk.pojo.User;

public interface UserService {

    /**
     * 登录查询
     * @param username
     * @param password
     * @return
     */
     User login(String username,String password);

    /**
     * 用户注册
     * @param user
     */
    boolean register(User user);

    /**
     * 注册判断
     * @param username
     * @return
     */
    User selectByUsername(String username);
}
